package gridModel;

import java.awt.Color;

public interface NamedColor {

	static enum BasicNamedColors {
		
		TRANSPARENT(0, 0, 0, 0),
		BLACK(0, 0, 0),
		BLUE(86, 126, 202),
		RED(225, 72, 40),
		WHITE(255, 255, 255),
		YELLOW(241, 241, 40);
		
		// ATTRIBUTS
		
		private int r, g, b, a;
		
		// CONSTRUCTEUR
		
		private BasicNamedColors(int r, int g, int b) {
			this(r, g, b, 255);
		}
		
		private BasicNamedColors(int r, int g, int b, int a) {
			this.r = r;
			this.g = g;
			this.b = b;
			this.a = a;
		}
		
		// REQUETES
		
		public int r() {
			return r;
		}
		
		public int g() {
			return g;
		}
		
		public int b() {
			return b;
		}
		
		public int a() {
			return a;
		}
		
	}
	
	// ATTRIBUTS
	
	public final static int DEFAULT_ALPHA = 255;
	
	// REQUETES
	
	Color getValue();
	
	Color getThinColor();
	
	boolean equals(Object o);
	
	boolean isWhite();
	
}
